package com.pennphoto.client;

import java.util.ArrayList;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface QueryXMLAsync {

	public void getPersonAndNeighbors(final int person, AsyncCallback<String> result) throws IllegalArgumentException;
	
	public void getFirstPerson(final String xml, AsyncCallback<Integer> result) throws IllegalArgumentException;

	public void getPhotos(int person, int first, int count, AsyncCallback<String> callback) throws IllegalArgumentException;
	
	public void getFriends(final int person, AsyncCallback<ArrayList<Integer>> callback) throws IllegalArgumentException, Exception;
}
